package com.example.learnspring.mapper;

import com.example.learnspring.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Collection;
import java.util.List;

@Mapper
public interface UserMapper {

    @Select("Select * from user where username=#{username} and password = #{password}")
    public User selectUser(User user);
}
